package com.unknowpupil.sell.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @Classname: OrderForm
 * @Author: <a> w10g </a>
 * @CreateDate: Create in 2020/1/1 14:56
 * @Description:
 * @Version: 1.0
 */
@Data
public class OrderForm {
    @ApiModelProperty(value="买家姓名")
    @NotEmpty(message = "姓名必填")
    private String name;
    @ApiModelProperty(value="买家手机号")
    @NotEmpty(message = "手机号必填")
    private String phone;
    @ApiModelProperty(value="买家地址")
    @NotEmpty(message = "地址必填")
    private String address;
    @ApiModelProperty(value="买家openId")
    @NotEmpty(message = "openId必填")
    private String openId;
    @ApiModelProperty(value="购物车")
    @NotEmpty(message = "购物车不能为空")
    private String items;


}
